package com.cw.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.alibaba.excel.annotation.ExcelProperty;

/**
 * @author ly
 * @since 2021-11-03
 */
@ApiModel(value = "IA_病床信息")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("HIS.IA_SICKBEDINFO")
public class IaSickbedinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "病床号=护士站+病室号+病室内床序号    婴儿病床号=母亲病床号+'A-Z'")
    @ExcelProperty(value = "BED_NO")
    @TableField("BED_NO")
    private String bedNo;

    @ApiModelProperty(value = "住院系统中所有的科别均被改成病区")
    @ExcelProperty(value = "SDEPT_CODE")
    @TableField("SDEPT_CODE")
    private String sdeptCode;

    @ApiModelProperty(value = "科室代码")
    @ExcelProperty(value = "DEPT_CODE")
    @TableField("DEPT_CODE")
    private String deptCode;

    @ApiModelProperty(value = "病室号")
    @ExcelProperty(value = "WARD_NO")
    @TableField("WARD_NO")
    private String wardNo;

    @ApiModelProperty(value = "护理单元代码")
    @ExcelProperty(value = "NURSE_CELL_CODE")
    @TableField("NURSE_CELL_CODE")
    private String nurseCellCode;

    @ApiModelProperty(value = "付款时使用等级对应固定费用档")
    @ExcelProperty(value = "FEE_GRADE_CODE")
    @TableField("FEE_GRADE_CODE")
    private String feeGradeCode;

    @ApiModelProperty(value = "M:男，F:女，O:不分")
    @ExcelProperty(value = "BED_SEX")
    @TableField("BED_SEX")
    private String bedSex;

    @ApiModelProperty(value = "A:占床； B:空床(可使用床位)；C:未开放病床")
    @ExcelProperty(value = "BED_STATE")
    @TableField("BED_STATE")
    private String bedState;

    @ApiModelProperty(value = "病床电话")
    @ExcelProperty(value = "BED_PHONECODE")
    @TableField("BED_PHONECODE")
    private String bedPhonecode;

    @ApiModelProperty(value = "每次住院的唯一标识")
    @ExcelProperty(value = "INPATIENT_NO")
    @TableField("INPATIENT_NO")
    private String inpatientNo;

    @ApiModelProperty(value = "出院日期(预约)")
    @ExcelProperty(value = "PREPAY_OUTDATE")
    @TableField("PREPAY_OUTDATE")
    private LocalDateTime prepayOutdate;

    @ApiModelProperty(value = "操作员代码")
    @ExcelProperty(value = "OPER_CODE")
    @TableField("OPER_CODE")
    private String operCode;

    @ApiModelProperty(value = "最新异动日期")
    @ExcelProperty(value = "OPER_DTIME")
    @TableField("OPER_DTIME")
    private LocalDateTime operDtime;

    @ApiModelProperty(value = "医师代码")
    @ExcelProperty(value = "DOC_CODE")
    @TableField("DOC_CODE")
    private String docCode;

    @ApiModelProperty(value = "编制代码")
    @ExcelProperty(value = "BED_WEAVE")
    @TableField("BED_WEAVE")
    private String bedWeave;

    @ApiModelProperty(value = "挂床数")
    @ExcelProperty(value = "HANG_SUM")
    @TableField("HANG_SUM")
    private Integer hangSum;

    @ExcelProperty(value = "OWNER_PC")
    @TableField("OWNER_PC")
    private String ownerPc;

    @ApiModelProperty(value = "查询码")
    @ExcelProperty(value = "QUERY_CODE")
    @TableField("QUERY_CODE")
    private String queryCode;

    @ApiModelProperty(value = "房间号")
    @ExcelProperty(value = "ROOM_NO")
    @TableField("ROOM_NO")
    private String roomNo;

    @ApiModelProperty(value = "是否集管床位(0否1是)")
    @ExcelProperty(value = "IF_GY")
    @TableField("IF_GY")
    private String ifGy;

    @ApiModelProperty(value = "是否集管床位(0否1是)备份，解锁")
    @ExcelProperty(value = "GY_BACK")
    @TableField("GY_BACK")
    private String gyBack;


}
